import 'models/expenses_model.dart';

class ApiSalary {
  ApiSalary._();

  static ApiSalary api = ApiSalary._();

  Future<List<ExpensesAssignment>> getCheckSchedules(
      Map<String, String> queryBody) async {
    // mock data
    await Future.delayed(const Duration(seconds: 1));
    return [
      ExpensesAssignment(
        DateTime.now(),
        "Groceries",
        "grocery",
        expensesAmount: 200.0,
      ),
      ExpensesAssignment(
        DateTime.now(),
        "Transport",
        "transport",
        expensesAmount: 50.0,
      ),
      ExpensesAssignment(
        DateTime.now().add(const Duration(days: 1)),
        "Dining Out",
        "dining",
        expensesAmount: 120.0,
      ),
      ExpensesAssignment(
        DateTime.now().add(const Duration(days: 1)),
        "Entertainment",
        "entertainment",
        expensesAmount: 80.0,
      )
    ];
  }
}
